How to solve these coding challenges:


Challenge #1

Are you stuck? Do you want to see the solution to this exercise? Click here.


Challenge #2

Sample List: words = ['Python', 'Java', 'C++', 'Golang', 'Solidity', 'Bash']

Expected Result: {'Python': 6, 'Java': 4, 'C++': 3, 'Golang': 6, 'Solidity': 8, 'Bash': 4}

Are you stuck? Do you want to see the solution to this exercise? Click here.


Challenge #3

d1 = {'x': 5, 'a': 3, 'c': 2, 'b': 0}

Are you stuck? Do you want to see the solution to this exercise? Click here.


Challenge #4

d1 = {'x': 5, 'a': 3, 'c': 2, 'b': 0}

Are you stuck? Do you want to see the solution to this exercise? Click here.


Challenge #5

P.S. Do it with a single line of code.

Are you stuck? Do you want to see the solution to this exercise? Click here.


Challenge #6

P.S. Do it with a single line of code.

Are you stuck? Do you want to see the solution to this exercise? Click here.


Challenge #7

Are you stuck? Do you want to see the solution to this exercise? Click here.


Challenge #8

Are you stuck? Do you want to see the solution to this exercise? Click here.


Challenge #9

years = [2015, 2016, 2017, 2018, 2019, 2020]

sales = [350000, 400000, 410000, 439000, 500000, 290000]

Are you stuck? Do you want to see the solution to this exercise? Click here.


Challenge #10

years = [2015, 2016, 2017, 2018, 2019, 2020]

sales = [350000, 400000, 410000, 439000, 500000, 290000]

Are you stuck? Do you want to see the solution to this exercise? Click here.


Challenge #11

Are you stuck? Do you want to see the solution to this exercise? Click here.


Challenge #12

Are you stuck? Do you want to see the solution to this exercise? Click here.


Challenge #13

Are you stuck? Do you want to see the solution to this exercise? Click here.


Challenge #14

Are you stuck? Do you want to see the solution to this exercise? Click here.